package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

/**
 * 抽奖导入用户
 *
 * @author longzhen.gong
 * @date 2021/5/31 14:51
 */

@Data
public class LotteryImportReqVO {

    /**
     * PaaS应用ID
     */
    @ParamName("vss_token")
    @JsonProperty("vss_token")
    private String vssToken;

    /**
     * 抽奖创建者ID
     */
    @ParamName("room_id")
    @JsonProperty("room_id")
    @NotBlank(message = "房间ID不能为空")
    private String roomId;

    @ParamName("lottery_users")
    private MultipartFile file;
}
